package com.jiangcheng.demo.service;

import com.jiangcheng.demo.entity.Liked;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiangcheng.demo.utils.LikedVo;
import com.jiangcheng.demo.utils.NewResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-09-13
 */
public interface LikedService extends IService<Liked> {

    NewResult addLike(Liked like);

    NewResult delete(Integer likeId);

    LikedVo findLikeNumByObjId(Integer objId, Integer type, Integer uId);
}
